package icu.javacg.storage.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author sky
 * @date: 2023/4/24 11:34
 * 返回结果
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ReturnResult<T> {
    private Integer code;
    private String message;
    private T data;

    public ReturnResult(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
